package com.woniuxy.microcouponserver;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableFeignClients
@EnableTransactionManagement
@MapperScan(basePackages = {"com.woniuxy.microcouponserver.*mag.mapper"})
@EnableEurekaClient
@SpringBootApplication
public class MicroCouponServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(MicroCouponServerApplication.class, args);
    }

}
